package com.hmall.mapper;

import com.hmall.model.ShopProductGrade;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShopProductGradeMapper extends MyMapper<ShopProductGrade> {
    List<ShopProductGrade> selectByProductId(@Param("product_id") Integer product_id);

    void updateStatusByProductId(@Param("product_id") Integer product_id);


}